package com.test.demo.dao;
/**
 * 王宇dao层代码
 * */
import com.test.demo.model.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper {
    Role selectByPrimaryKey(Integer rid);

    List<Role> getIsBegin();

    List<Role> getAll();
    //新增
    int insertRole(Role rolemodel);
    //删除
    int delRole(Integer rid);
    //更新
    int updateRole(Role rolemodel);
}
